<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<div class="actionBar" quesId="${result.quesId}" resultId="${result.id}" parentId="${result.parentId}">
	<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>
		<c:if test="${'true'!=forbidsub}">
			<td align="left">
				<c:if test="${result.id != 0}">
					<c:forEach items="${quesSet}" var="ques">
						<img src="<c:url value="/images/addsub.gif"/>" class="icon16">
						<c:choose>
							<c:when test="${result.type==1}">
								<a quesId="${ques.id}" href="javascript:void(0)">${ques.dbName}</a>
							</c:when>
							<c:otherwise>
								<a quesId="${ques.id}" href="javascript:void(0)">${ques.name}</a>
							</c:otherwise>
						</c:choose>
					</c:forEach>
				</c:if>
			</td>
		</c:if>
		<td align="right">
		<c:if test="${SIMPLE_LOGINDATA.role == 1}">
			<a class="save" href="javascript:void(0)">
				<img class="icon16" src="<c:url value="/images/save.gif"/>">
				保存
			</a>
			<a class="delete" href="javascript:void(0)">
				<img class="icon16" src="<c:url value="/images/remove.gif"/>">
				删除
			</a>
		</c:if>
		</td>
	</tr></table>
</div>